fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

exclusive_when

mutate.exclusive_when

R 
type
,
C 
type
:
Function,
F 
type
: Function R,
condition C,
code F
)
 => 
R
exclusively wait for the given condition to hold and then perform given code with
exclusive access to the mutable values created with this instance of `mutate`.
Precondition
pre
  safety: exclusive_allowed

Type Parameters

Arguments

condition
 C
code
 F
0.099dev (GIT hash bf4ead724d7f3fdab43a87b63c17477c916c8995)
last changed: 2026-11-04